package com.sangcomz.fishbun.datasource;

import ohos.app.Context;
import ohos.app.Environment;

public class CameraDataSourceImpl implements CameraDataSource {

    private Context context;
    public CameraDataSourceImpl(Context context){
        this.context = context;
    }

    @Override
    public String getCameraPath() {
//        return Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DCIM + "/Camera").absolutePath;
        return null;
    }

    @Override
    public String getPicturePath() {
        return context.getExternalFilesDir(Environment.DIRECTORY_PICTURES).getAbsolutePath();
    }
}